<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gdb</Name>
        <Homepage>https://www.sourceware.org/gdb/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>programming.debug</PartOf>
        <License>GPLv3</License>
        <IsA>app:console</IsA>
        <Summary>GNU debugger</Summary>
        <Description>GDB, the GNU Project debugger, allows you to see what is going on 'inside' another program while it executes -- or what another program was doing at the moment it crashed.</Description>
        <Archive sha1sum="2edabd9f5766b84889b07b366b4438e93e994005" type="tarxz">https://ftp.gnu.org/gnu/gdb/gdb-12.1.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>texinfo</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>mpfr-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>guile-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>xxhash-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>source-highlight-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level="1">0001-AArch64-Make-gdbserver-register-set-selection-dynami.patch</Patch> -->
            <Patch level="1">arch/readline8.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gdb</Name>
        <Summary>GNU debugger</Summary>
        <RuntimeDependencies>
            <Dependency>xz</Dependency>
            <Dependency>mpfr</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>guile</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>xxhash</Dependency>
            <Dependency>python</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>source-highlight</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/gdb</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="doc">/usr/share/doc/gdb</Path>
        </Files>
    </Package>

    <Package>
        <Name>gdb-devel</Name>
        <Summary>Development files for gdb</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gdb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="13">
            <Date>2023-02-10</Date>
            <Version>12.1</Version>
            <Comment>Rebuild guile.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2023-02-05</Date>
            <Version>12.1</Version>
            <Comment>Rebuild guile.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="11">
            <Date>2023-01-28</Date>
            <Version>12.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-11-30</Date>
            <Version>11.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-09-15</Date>
            <Version>10.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-11-07</Date>
            <Version>9.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-09-07</Date>
            <Version>9.2</Version>
            <Comment>Major version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-07</Date>
            <Version>8.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
         <Update release="5">
            <Date>2018-08-07</Date>
            <Version>8.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-01-31</Date>
            <Version>8.0.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>7.12.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>7.9.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
         <Update release="1">
            <Date>2015-07-30</Date>
            <Version>7.9.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
